<template>
  <div id="app">
    <router-view></router-view>
    <DragBtn v-if="$route.path != '/main'">首页</DragBtn>
  </div>
</template>

<script>
import DragBtn from './component/dragBtn'
export default {
  name: 'App',
  components: {
    DragBtn
  }
}
</script>

<style lang="less">
@import './css/common.less';
html{
  background: url('./assets/bg1.jpeg');
  background-repeat: no-repeat;
}
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
